package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserPermissionMapper {
    @Select("select user_id from user_permission where permission_id = #{permissionId}")
    public List<Integer> searchUserIdsByPermissionId(int permissionId);
}
